package com.lq.schoolshop.service;

import com.lq.schoolshop.pojo.Expand.UserExamp;
import com.lq.schoolshop.pojo.User;
import org.apache.ibatis.annotations.Param;

/**
 * @Author
 * @Date2021/1/5 22:26
 * @Version V1.0
 * 为什么努力？想把钱都赚够，一心跳广场舞曲去。
 **/
public interface UserService {

    UserExamp showall(int id);

    User login(String username, String password);

    String getlogoImg(String username);

    String getlogoImgById(int id);

    int updateImg(int id,String icon);

    int updateuserinfo(String name,String phone,String address,int id);

    int updatePassword(String password,int uid);

    int regislogi(String sex , String username, String password,String name,String secretkey);

    int exist(String username);

    int complain(String username,String secretkey);

    int updateByUUID(String secretkey,String username);

    int updatePwdByname(String username,String password);

    int updatetoken(int id,String tokensecrekey);

    int selByIdAndToken(int id,String tokensecrekey);
}
